package com.gitee.wsl.ext.number

import kotlin.math.pow

internal fun ldexp(a: Float, exp: Int) = a * 2f.pow(exp)

internal fun ldexp(a: Double, exp: Int) = a * 2.0.pow(exp)